package com.atguigu.springcloud.alibaba.dao;

import com.atguigu.springcloud.alibaba.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OrderMapper extends BaseMapper<Order> {

    void updateByUserId(@Param("userId") Long userId, @Param("status") Integer status);

}
